<?php

use Illuminate\Database\Seeder;

class MenusTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('menus')->delete();
        
        \DB::table('menus')->insert(array (
            0 => 
            array (
                'id' => 1,
                'pid' => 0,
                'name' => '主分支',
                'permission_name' => 'top',
                'sort' => 0,
                'is_menu' => 1,
                'status' => 1,
                'created_at' => '2017-05-19 09:28:54',
                'updated_at' => '2017-05-19 09:28:54',
            ),
            1 => 
            array (
                'id' => 3,
                'pid' => 1,
                'name' => '首页',
                'permission_name' => 'index',
                'sort' => 0,
                'is_menu' => 1,
                'status' => 0,
                'created_at' => '2017-05-19 09:32:40',
                'updated_at' => '2017-05-19 09:32:40',
            ),
            2 => 
            array (
                'id' => 4,
                'pid' => 1,
                'name' => '城市管理',
                'permission_name' => 'city',
                'sort' => 0,
                'is_menu' => 1,
                'status' => 0,
                'created_at' => '2017-05-19 09:32:40',
                'updated_at' => '2017-05-19 09:32:40',
            ),
            3 => 
            array (
                'id' => 5,
                'pid' => 1,
                'name' => '账号管理',
                'permission_name' => 'user',
                'sort' => 0,
                'is_menu' => 1,
                'status' => 0,
                'created_at' => '2017-05-19 09:32:41',
                'updated_at' => '2017-05-19 09:32:41',
            ),
            4 => 
            array (
                'id' => 6,
                'pid' => 4,
                'name' => '建筑列表',
                'permission_name' => 'city-building',
                'sort' => 1,
                'is_menu' => 0,
                'status' => 0,
                'created_at' => '2017-05-19 09:44:16',
                'updated_at' => '2017-05-19 09:44:16',
            ),
            5 => 
            array (
                'id' => 7,
                'pid' => 4,
                'name' => '截图列表',
                'permission_name' => 'city-screenshot',
                'sort' => 2,
                'is_menu' => 0,
                'status' => 0,
                'created_at' => '2017-05-19 09:44:16',
                'updated_at' => '2017-05-19 09:44:16',
            ),
            6 => 
            array (
                'id' => 8,
                'pid' => 4,
                'name' => '行走轨迹',
                'permission_name' => 'city-walking',
                'sort' => 3,
                'is_menu' => 0,
                'status' => 0,
                'created_at' => '2017-05-19 09:44:16',
                'updated_at' => '2017-05-19 09:44:16',
            ),
            7 => 
            array (
                'id' => 9,
                'pid' => 5,
                'name' => '账号列表',
                'permission_name' => 'user-list',
                'sort' => 2,
                'is_menu' => 0,
                'status' => 0,
                'created_at' => '2017-05-19 09:44:16',
                'updated_at' => '2017-05-19 09:44:16',
            ),
            8 => 
            array (
                'id' => 10,
                'pid' => 5,
                'name' => '账号管理',
                'permission_name' => 'user-manage',
                'sort' => 1,
                'is_menu' => 0,
                'status' => 0,
                'created_at' => '2017-05-19 09:44:16',
                'updated_at' => '2017-05-19 09:44:16',
            ),
            9 => 
            array (
                'id' => 11,
                'pid' => 3,
                'name' => '首页',
                'permission_name' => 'index-index',
                'sort' => 1,
                'is_menu' => 0,
                'status' => 0,
                'created_at' => '2017-05-20 11:54:24',
                'updated_at' => '2017-05-20 11:54:27',
            ),
        ));
        
        
    }
}